package com.everything.dao;

import com.everything.model.Question;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface EsDAO{
    public List<Question> findQuestionsByTitleContaining(String search);

    //List<Question> findQuestionsByTitleContaining1(String search);ss
}
